<div class="form-group">
    <label class="col-sm-2 control-label">话题积分</label>
    <div class="col-sm-9 col-xs-12">
        {ife 'sns.board' $item}
        <input type="text" name="postcredit" class="form-control" value="{$item['postcredit']}"/>
        <span class="help-block">删除话题，也扣除相应积分</span>
        {else}
        <div class='form-control-static'>{$item['postcredit']}</div>
        {/if}
    </div>
</div>
<div class="form-group">
    <label class="col-sm-2 control-label">评论积分</label>
    <div class="col-sm-9 col-xs-12">
        {ife 'sns.board' $item}
        <input type="text" name="replycredit" class="form-control" value="{$item['replycredit']}"/>
        <span class="help-block">删除评论，也扣除相应积分</span>
        {else}
        <div class='form-control-static'>{$item['replycredit']}</div>
        {/if}
    </div>
</div>
<div class="form-group">
    <label class="col-sm-2 control-label">设置版块精华积分</label>
    <div class="col-sm-9 col-xs-12">
        {ife 'sns.board' $item}
        <input type="text" name="bestboardcredit" class="form-control" value="{$item['bestboardcredit']}"/>
        <span class="help-block">取消版块精华，也扣除相应积分</span>
        {else}
        <div class='form-control-static'>{$item['bestboardcredit']}</div>
        {/if}
    </div>
</div>
<div class="form-group">
    <label class="col-sm-2 control-label">设置全站精华积分</label>
    <div class="col-sm-9 col-xs-12">
        {ife 'sns.board' $item}
        <input type="text" name="bestcredit" class="form-control" value="{$item['bestcredit']}"/>
        <span class="help-block">取消全站精华，也扣除相应积分</span>
        {else}
        <div class='form-control-static'>{$item['bestcredit']}</div>
        {/if}
    </div>
</div>


<div class="form-group">
    <label class="col-sm-2 control-label">设置版块置顶积分</label>
    <div class="col-sm-9 col-xs-12">
        {ife 'sns.board' $item}
        <input type="text" name="topboardcredit" class="form-control" value="{$item['topboardcredit']}"/>
        <span class="help-block">取消版块置顶，也扣除相应积分</span>
        {else}
        <div class='form-control-static'>{$item['topboardcredit']}</div>
        {/if}
    </div>
</div>

<div class="form-group">
    <label class="col-sm-2 control-label">设置全站置顶积分</label>
    <div class="col-sm-9 col-xs-12">
        {ife 'sns.board' $item}
        <input type="text" name="topcredit" class="form-control" value="{$item['topcredit']}"/>
        <span class="help-block">取消全站置顶，也扣除相应积分</span>
        {else}
        <div class='form-control-static'>{$item['topcredit']}</div>
        {/if}
    </div>
</div>

